<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>新的全局常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration55.extensions-other.html">扩展中的其他变更</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration55.ini.html">INI 文件处理的变化</a></div>
 <div class="up"><a href="migration55.html">从 PHP 5.4.x 迁移到 PHP 5.5.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration55.global-constants" class="sect1">
  <h2 class="title">新的全局常量</h2>

  <div class="sect2" id="migration55.global-constants.gd">
   <h3 class="title"><a href="book.image.html" class="link">GD</a></h3>

   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_AFFINE_TRANSLATE</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_AFFINE_SCALE</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_AFFINE_ROTATE</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_AFFINE_SHEAR_HORIZONTAL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_AFFINE_SHEAR_VERTICAL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_CROP_DEFAULT</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_CROP_TRANSPARENT</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_CROP_BLACK</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_CROP_WHITE</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_CROP_SIDES</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_FLIP_BOTH</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_FLIP_HORIZONTAL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_FLIP_VERTICAL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BELL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BESSEL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BICUBIC</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BICUBIC_FIXED</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BLACKMAN</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BOX</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_BSPLINE</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_CATMULLROM</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_GAUSSIAN</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_GENERALIZED_CUBIC</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_HERMITE</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_HAMMING</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_HANNING</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_MITCHELL</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_POWER</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_QUADRATIC</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_SINC</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_NEAREST_NEIGHBOUR</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_WEIGHTED4</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>IMG_TRIANGLE</code></strong>
     </span>
    </li>
   </ul>
  </div>

  <div class="sect2" id="migration55.global-constants.mysqli">
   <h3 class="title"><a href="book.mysqli.html" class="link">MySQLi</a></h3>

   <p class="para">
    为使用 <span class="function"><a href="mysqli.options.html" class="function">mysqli_options()</a></span> 新增一个 <strong><code>MYSQLI_SERVER_PUBLIC_KEY</code></strong> 选项。
   </p>
  </div>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration55.extensions-other.html">扩展中的其他变更</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration55.ini.html">INI 文件处理的变化</a></div>
 <div class="up"><a href="migration55.html">从 PHP 5.4.x 迁移到 PHP 5.5.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
